package com.wsoft.config;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wsoft.core.service.RedisService;
import com.wsoft.system.entity.TsMutiLangEntity;
import com.wsoft.system.service.ITsMutiLangService;
import com.wsoft.utils.ResourceUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 多语言初始化
 *
 * @author: juiet
 * @date: 2024年08月24日 16:10
 */
@Component
public class LangInitBean {

    @Autowired
    private ITsMutiLangService iTsMutiLangService;

    public void init() {
        iTsMutiLangService.initAllMutiLang();
    }
}
